package com.yf.course.modules.course.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 课程问答数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2021-04-19 11:04
*/
@Data
@ApiModel(value="课程问答", description="课程问答")
public class CourseQaDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @Dict(dictTable = "el_course", dicCode = "id", dicText = "title")
    @ApiModelProperty(value = "课程ID")
    private String courseId;
    private String courseId_dictText;

    @Dict(dictTable = "el_course_file", dicCode = "id", dicText = "title")
    @ApiModelProperty(value = "课件ID")
    private String fileId;
    private String fileId_dictText;

    @ApiModelProperty(value = "回复的ID")
    private String replyId;

    @ApiModelProperty(value = "提问标题")
    private String title;

    @ApiModelProperty(value = "提问回复详情", required=true)
    private String content;

    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "real_name")
    @ApiModelProperty(value = "创建人")
    private String createBy;
    private String createBy_dictText;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "提问时间", required=true)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "状态", required=true)
    private Integer state;

}
